package org.kl.bf.repository.basic;

import java.sql.Timestamp;
import java.util.List;

import org.kl.bf.entity.basic.Calendar;
import org.kl.bf.repository.BasicRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CalendarDao extends BasicRepository<Calendar, String>, JpaSpecificationExecutor<Calendar> {
	List<Calendar> findByCalendarTypeIdAndUserId(String calendarTypeId, String userId);
	List<Calendar> findByStartGreaterThanAndUserId(Timestamp start, String userId);
}
